――――――――――――――――――――――――――――――――――――――――――――――――――
Touhou Community Reliant Automatic Patcher logfile
Branch: stable
Version: 2019-12-29
Build time: Dec 29 2019 18:15:42
Built by: brliron
Command line: "D:\Games\Touhou\Touhou 12.8 - Fairy Wars\th128.exe"
――――――――――――――――――――――――――――――――――――――――――――――――――

Run configuration file: D:\Games\Touhou\Touhou 12.8 - Fairy Wars\thcrap\config\thpatch-en.js

Initializing patches...
EXE file name: D:\Games\Touhou\Touhou 12.8 - Fairy Wars\th128.exe
(JSON) Resolving versions.js... 
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/versions.js
  + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tasofro/versions.js
Hashing executable... → th128 v1.00a (original) (codepage 0)
(JSON) Resolving configuration for th128.js... 
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/global.js
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/th128.js
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/th128.v1.00a.js
  + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tasofro/global.js
   + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/script_latin/global.js
Game directory: D:\Games\Touhou\Touhou 12.8 - Fairy Wars
Plug-in directory: D:\Games\Touhou\Touhou 12.8 - Fairy Wars\thcrap

Initializing plug-ins...
(Font) Loading Aroania.ttf (426296 bytes)...
(Font) Loading Cirno.ttf (28952 bytes)...
(Font) Loading THBiolinum.otf (557212 bytes)...
(JSON) Resolving stringdefs.js... 
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/stringdefs.js
   + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/script_latin/stringdefs.js
     + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/stringdefs.js
(JSON) Resolving th128/stringlocs.js... 
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/th128/stringlocs.v1.00a.js
[Plugin] thcrap_tasofro.dll: not used for this game
[Plugin] thcrap_tsa.dll: initialized and active
(JSON) Resolving th128/missions.js... not found
(JSON) Resolving th128/loops.js... not found
(JSON) Resolving themes.js... 
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/themes.js
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/themes.js
(JSON) Resolving th128/musiccmt.js... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/musiccmt.js
(JSON) Resolving th128/spells.js... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/spells.js
(JSON) Resolving th128/spellcomments.js... not found
Applying thcrap detours to D:\Games\Touhou\Touhou 12.8 - Fairy Wars\th128.exe...
Detouring DLL functions (dinput8.dll)...
( 1/ 1) DirectInput8Create... OK
Detouring DLL functions (dsound.dll)...
( 1/ 3) DirectSoundCaptureEnumerateA... not found
( 2/ 3) DirectSoundEnumerateA... not found
( 3/ 3) DirectSoundCreate8... OK
Detouring DLL functions (d3d9.dll)...
( 1/ 1) Direct3DCreate9... OK
Detouring DLL functions (winmm.dll)...
( 1/ 1) joyGetPosEx... OK
Detouring DLL functions (kernel32.dll)...
( 1/41) CopyFileA... not found
( 2/41) CopyFileExA... not found
( 3/41) CreateDirectoryA... OK
( 4/41) CreateFileA... OK
( 5/41) CreateFileMappingA... not found
( 6/41) CreateProcessA... OK
( 7/41) DeleteFileA... OK
( 8/41) FindFirstFileA... OK
( 9/41) FindNextFileA... OK
(10/41) FormatMessageA... OK
(11/41) GetCurrentDirectoryA... OK
(12/41) GetEnvironmentVariableA... OK
(13/41) GetFileAttributesA... not found
(14/41) GetFileAttributesExA... not found
(15/41) GetFullPathNameA... not found
(16/41) GetCommandLineA... OK
(17/41) GetModuleFileNameA... OK
(18/41) GetPrivateProfileIntA... not found
(19/41) GetPrivateProfileStringA... not found
(20/41) GetStartupInfoA... OK
(21/41) GetTempPathA... not found
(22/41) IsDBCSLeadByte... not found
(23/41) LoadLibraryA... OK
(24/41) MoveFileA... not found
(25/41) MoveFileExA... not found
(26/41) MoveFileWithProgressA... not found
(27/41) MultiByteToWideChar... OK
(28/41) OpenFileMappingA... not found
(29/41) ReadFile... OK
(30/41) RemoveDirectoryA... not found
(31/41) SetCurrentDirectoryA... OK
(32/41) SetEnvironmentVariableA... OK
(33/41) WideCharToMultiByte... OK
(34/41) WriteFile... OK
(35/41) WritePrivateProfileStringA... not found
(36/41) ExitProcess... OK
(37/41) CreateProcessW... not found
(38/41) CreateRemoteThread... not found
(39/41) LoadLibraryW... OK
(40/41) CloseHandle... OK
(41/41) SetFilePointer... OK
Detouring DLL functions (user32.dll)...
( 1/22) CharNextA... not found
( 2/22) CreateDialogParamA... not found
( 3/22) CreateWindowExA... OK
( 4/22) DefWindowProcA... OK
( 5/22) DialogBoxParamA... OK
( 6/22) DrawTextA... OK
( 7/22) GetClassInfoA... not found
( 8/22) GetClassInfoExA... not found
( 9/22) GetWindowLongA... not found
(10/22) GetWindowLongPtrA... not found
(11/22) InsertMenuItemA... not found
(12/22) LoadStringA... not found
(13/22) MessageBoxA... OK
(14/22) RegisterClassA... OK
(15/22) RegisterClassExA... not found
(16/22) SetDlgItemTextA... not found
(17/22) SetWindowLongA... OK
(18/22) SetWindowLongPtrA... not found
(19/22) SetWindowTextA... not found
(20/22) TabbedTextOutA... not found
(21/22) UnregisterClassA... not found
(22/22) GetWindowRect... OK
Detouring DLL functions (gdi32.dll)...
( 1/14) CreateFontA... OK
( 2/14) CreateFontIndirectA... not found
( 3/14) CreateFontIndirectExA... not found
( 4/14) EnumFontsA... not found
( 5/14) EnumFontFamiliesA... not found
( 6/14) EnumFontFamiliesExA... not found
( 7/14) ExtTextOutA... not found
( 8/14) GetGlyphOutlineA... not found
( 9/14) GetTextExtentPoint32A... not found
(10/14) TextOutA... OK
(11/14) CreateCompatibleDC... OK
(12/14) DeleteDC... OK
(13/14) DeleteObject... OK
(14/14) SelectObject... OK
Initialization stage 0...
-------------------------
Applying binary hacks...
------------------------
( 1/ 1) 0x004E0413 Crack SteamStub by disabling its integrity check (steamstub_crack)... expected bytes not matched, skipping...
------------------------
Failed. Jumping to last stage...
-------------------------
Initialization stage 2...
-------------------------
Applying binary hacks...
------------------------
( 1/11) 0x0046C320 Restore the game's built-in logging (log_restore)... OK
( 2/11) 0x00466409 Remove spell "alignment" in the result screen (result_spell_align)... OK
( 3/11) 0x00466234 Safe sprintf (ebp-88) (sprintf_call_ebp-88)... OK
( 4/11) 0x004662CF Safe sprintf (ebp-8c) (sprintf_call_ebp-8c)... OK
( 5/11) 0x00466272 Safe sprintf (replace) (sprintf_rep)... OK
( 6/11) 0x00466342 Safe sprintf (replace) (sprintf_rep)... OK
( 7/11) 0x0046640F Safe sprintf (replace) (sprintf_rep)... OK
( 8/11) 0x00466307 Spell card alignment (spell_align)... OK
( 9/11) 0x0046639F Safe sprintf (call #1) (sprintf_call_1)... OK
(10/11) 0x00423960 Correct text length calculation for Fairy Wars-style text boxes (fw_textbox_size)... OK
(11/11) 0x00423B20 Correct text length calculation for Fairy Wars-style text boxes (fw_textbox_size)... OK
------------------------
Setting up breakpoints... (source cave at 0x00AF0000, call cave at 0x00B00000)
-------------------------
( 1/15) 0x0042392E ruby_offset... OK
( 2/15) 0x00423AA5 ruby_offset... OK
( 3/15) 0x00469CCD file_size... OK
( 4/15) 0x00469D06 file_load... fixing rel.addr. 0xFFFE5AC5 to 0xFF95F76B... OK
( 5/15) 0x0044F90F file_loaded... OK
( 6/15) 0x0041B45A spell_id... OK
( 7/15) 0x0041B4A5 spell_id#real... OK
( 8/15) 0x0040DFE6 spell_name... OK
( 9/15) 0x0044CFFB spell_id#result... OK
(10/15) 0x0044D116 spell_name#result... OK
(11/15) 0x0044EC35 music_title... OK
(12/15) 0x0044EE0C music_cmt#line_first... OK
(13/15) 0x0044EE1D music_cmt#first... OK
(14/15) 0x0044EEE4 music_cmt#line... OK
(15/15) 0x0044EEF5 music_cmt... OK
-------------------------
-----------------------
---------------------------
Complete run configuration:
---------------------------
{
  "thcrap_version_min": "0x20170905",
  "thcrap_url": "http://thpatch.net/wiki/Project:Download",
  "binhacks": {
    "log_restore": {
      "code": "e9[log_printf]",
      "title": "Restore the game's built-in logging",
      "addr": "0x46c320"
    },
    "menu_desc_align": {
      "code": "52 ff75ac ff75b0 e8[GetTextExtentForFontID] 8d440010 50 db04e4 58 59 89ca 90909090",
      "title": "Menu description alignment"
    },
    "result_spell_align": {
      "code": "31c0",
      "title": "Remove spell \"alignment\" in the result screen",
      "addr": "0x466409"
    },
    "spell_name_fetch": {
      "code": "8b4d0c5131c9515151",
      "title": "Prepare deferred spell name fetching"
    },
    "sprintf_call_esp+14": {
      "code": "50e8[strings_vsprintf]8944e414",
      "title": "Safe sprintf (esp+14)"
    },
    "sprintf_call_esp+18": {
      "code": "50e8[strings_vsprintf]8944e418",
      "title": "Safe sprintf (esp+18)"
    },
    "sprintf_call_esp+1c": {
      "code": "50e8[strings_vsprintf]8944e41c",
      "title": "Safe sprintf (esp+1c)"
    },
    "sprintf_call_esp+34": {
      "code": "50e8[strings_vsprintf]8944e434",
      "title": "Safe sprintf (esp+34)"
    },
    "sprintf_call_esp+38": {
      "code": "e8[strings_vsprintf]89442434",
      "title": "Safe sprintf (esp+34)"
    },
    "sprintf_call_esp+3c": {
      "code": "50e8[strings_vsprintf]8944e43c",
      "title": "Safe sprintf (esp+3c)"
    },
    "sprintf_call_ebp-50": {
      "code": "50e8[strings_vsprintf]8945b0",
      "title": "Safe sprintf (ebp-50)"
    },
    "sprintf_call_ebp-88": {
      "code": "50e8[strings_vsprintf]898578ffffff",
      "title": "Safe sprintf (ebp-88)",
      "addr": "0x466234"
    },
    "sprintf_call_ebp-8c": {
      "code": "50e8[strings_vsprintf]898574ffffff",
      "title": "Safe sprintf (ebp-8c)",
      "addr": "0x4662cf"
    },
    "sprintf_call_ebp-208": {
      "code": "5190909090909090909090e8[strings_vsprintf]83c40c509090",
      "title": "Safe sprintf (ebp-208)"
    },
    "sprintf_call_ebp-200": {
      "code": "5090909090909090909090e8[strings_vsprintf]8b4d0c83c40c509090",
      "title": "Safe sprintf (ebp-200)"
    },
    "sprintf_msvcrt14_esp+34": {
      "title": "Safe Visual Studio 2015-style sprintf (esp+34)",
      "code": "e8[strings_vsprintf_msvcrt14]89442434"
    },
    "sprintf_msvcrt14_esp+3c": {
      "title": "Safe Visual Studio 2015-style sprintf (esp+3c)",
      "code": "e8[strings_vsprintf_msvcrt14]8944243c"
    },
    "sprintf_msvcrt14_ebp-10c": {
      "title": "Safe Visual Studio 2015-style sprintf (ebp-10c)",
      "code": "e8[strings_vsprintf_msvcrt14]8985f4feffff"
    },
    "sprintf_rep": {
      "code": "8b",
      "title": "Safe sprintf (replace)",
      "addr": [
        "0x466272",
        "0x466342",
        "0x46640f"
      ]
    },
    "meiryo_strcmp_remove": {
      "code": "9090",
      "title": "Don't restrict use of the Meiryo font to Japanese locale"
    },
    "ending_copy_rem": {
      "title": "Remove the useless string copy and buffer overflow in ending messages, #1 (remember line start and skip to the end of the string)"
    },
    "ending_copy_rep": {
      "code": "8b",
      "title": "Remove the useless string copy and buffer overflow in ending messages, #2 (LEA → MOV)"
    },
    "spell_align": {
      "title": "Spell card alignment",
      "code": "c1e90483e10151ff750cff7508ff35cc2a4d00ff7518e8[GetTextExtentForFont]50db04e458909090",
      "addr": "0x466307"
    },
    "antitamper_remove_check": {
      "title": "Don't quit the game on an invalid anti-tampering checksum",
      "code": "33c0 c3"
    },
    "hud_force_redraw": {
      "title": "Redraw the HUD every frame, because we might be drawing TL notes there",
      "code": "eb"
    },
    "sprintf_call_1": {
      "code": "50e8[strings_vsprintf]89857cffffff89bd78ffffff",
      "title": "Safe sprintf (call #1)",
      "addr": "0x46639f"
    },
    "fw_textbox_size": {
      "code": "ff35bc2a4d0057e8[GetTextExtentForFont]50db04e4589090909090909090909090909090",
      "title": "Correct text length calculation for Fairy Wars-style text boxes",
      "addr": [
        "0x423960",
        "0x423b20"
      ]
    },
    "ret": {
      "code": "c3",
      "title": "Returns from a function"
    },
    "meiryo_disable": {
      "code": "83c414 909090",
      "title": "Disable the enumeration of Meiryo for compatibility to existing font settings"
    },
    "font_dialog_params": {
      "code": "6a036a006a0068000000006a006a006a006890010000",
      "title": "Set parameters for alternate dialog font"
    },
    "font_dialog_set": {
      "code": "6a019090",
      "title": "Use alternate dialog font"
    }
  },
  "breakpoints": {
    "ruby_offset": {
      "font_dialog": 4,
      "font_ruby": 6,
      "str": "edi",
      "offset": "eax",
      "cavesize": 5,
      "addr": [
        "Rx2392e",
        "Rx23aa5"
      ]
    },
    "ascii_params": {
      "cavesize": 5
    },
    "file_size": {
      "file_size": "edi",
      "file_name": "ebx",
      "cavesize": 5,
      "addr": "0x469ccd"
    },
    "file_load": {
      "file_buffer": "edi",
      "stack_clear_size": "12",
      "cavesize": 5,
      "addr": "0x469d06"
    },
    "file_loaded": {
      "cavesize": 5,
      "addr": "0x44f90f"
    },
    "spell_id": {
      "spell_id": "esi",
      "cavesize": 5,
      "addr": "0x41b45a"
    },
    "spell_id#real": {
      "spell_id_real": "esi",
      "cavesize": 7,
      "addr": "0x41b4a5"
    },
    "spell_name": {
      "spell_name": "ecx",
      "cavesize": 5,
      "addr": "0x40dfe6"
    },
    "spell_id#result": {
      "spell_id_real": "edi",
      "spell_rank": "ecx",
      "cavesize": 6,
      "addr": "0x44cffb"
    },
    "spell_name#result": {
      "spell_name": "ecx",
      "cavesize": 8,
      "addr": "0x44d116"
    },
    "music_title": {
      "str": "edx",
      "track": "ebx",
      "format_id": "Music Room Numbered Title",
      "cavesize": 5,
      "addr": "0x44ec35"
    },
    "music_cmt#line_first": {
      "track": "eax",
      "line_num": "ecx",
      "cavesize": 5,
      "addr": "0x44ee0c"
    },
    "music_cmt#first": {
      "str": "eax",
      "format_id": "Music Room Note Title",
      "cavesize": 5,
      "addr": "0x44ee1d"
    },
    "music_cmt#line": {
      "track": "eax",
      "line_num": "edx",
      "cavesize": 5,
      "addr": "0x44eee4"
    },
    "music_cmt": {
      "str": "edx",
      "format_id": "Music Room Note Title",
      "cavesize": 5,
      "addr": "0x44eef5"
    }
  },
  "tlnotes": {
    "reference_resolution": [
      1280,
      960
    ],
    "font": "'MS Gothic' 32 0 400 DEFAULT_QUALITY",
    "valign": "bottom",
    "region_size": [
      184,
      448
    ],
    "region_topleft": [
      1056,
      484
    ]
  },
  "title": "妖精大戦争　～ 東方三月精",
  "latest": "v1.00a",
  "formats": {
    "msg": "msg11",
    "anm": "anm11",
    "end": "end10"
  },
  "tsa_font_block": [
    "Rxd2acc",
    "Rxd2ac8",
    "Rxd2ac4",
    "Rxd2ac0",
    "Rxd2abc",
    "Rxd2ab8",
    "Rxd0ab4",
    "Rxb8aa4"
  ],
  "init_stages": [
    {
      "binhacks": {
        "steamstub_crack": {
          "title": "Crack SteamStub by disabling its integrity check",
          "addr": "Rxe0413",
          "code": "eb",
          "expected": "74"
        }
      },
      "breakpoints": {
        "init_next_stage#1": {
          "addr": "Rxe1036",
          "module": "eax",
          "cavesize": 6
        },
        "init_next_stage#game": {
          "addr": "Rxdf333",
          "cavesize": 5
        }
      }
    },
    {
      "The addresses here are relative to": "SteamDRMP.dll",
      "binhacks": {
        "steamdrm_crack": {
          "title": "Crack SteamDRM: Remove all communication with the Steam client",
          "addr": "Rx66d0",
          "code": "90909090909090909090 b030 884513 e9"
        }
      }
    }
  ],
  "font": "Touhou Biolinum",
  "fontrules": {
    "* 15 * 700": "* 21 * 100 NONANTIALIASED_QUALITY"
  },
  "game": "th128",
  "console": false,
  "dat_dump": false,
  "patches": [
    {
      "id": "base_tsa",
      "min_build": "0x20140528",
      "servers": [
        "https://mirrors.thpatch.net/nmlgc/base_tsa/"
      ],
      "thcrap_version_min": "0x20191214",
      "title": "Basic support for Team Shanghai Alice games",
      "url_engine": "http://thpatch.net/wiki/Project:Download\n\nThis is the last build you'll ever have to download and extract manually, because we now have digitally signed automatic updates of thcrap itself!",
      "archive": "D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/"
    },
    {
      "dependencies": [
        "base_tsa"
      ],
      "fonts": {
        "Aroania.ttf": true,
        "Cirno.ttf": true,
        "THBiolinum.otf": true
      },
      "id": "script_latin",
      "servers": [
        "https://mirrors.thpatch.net/nmlgc/script_latin/"
      ],
      "title": "Shared data for languages using Latin script",
      "archive": "D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/script_latin/"
    },
    {
      "dependencies": [
        "base_tsa"
      ],
      "id": "western_name_order",
      "servers": [
        "https://mirrors.thpatch.net/nmlgc/western_name_order/"
      ],
      "title": "Western name order",
      "archive": "D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/western_name_order/"
    },
    {
      "id": "lang_en",
      "title": "English language pack",
      "dependencies": [
        "nmlgc/base_tsa",
        "nmlgc/base_tasofro",
        "nmlgc/script_latin",
        "nmlgc/western_name_order"
      ],
      "update": true,
      "servers": [
        "https://srv.thpatch.net/lang_en/"
      ],
      "archive": "D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/"
    }
  ],
  "thcrap_dir": "D:\\Games\\Touhou\\Touhou 12.8 - Fairy Wars\\thcrap",
  "run_cfg_fn": "D:\\Games\\Touhou\\Touhou 12.8 - Fairy Wars\\thcrap\\config\\thpatch-en.js",
  "build": "v1.00a",
  "patchhooks": {
    "msg*.dat": [
      {
        "patch_func": 1480361056,
        "patch_size_func": 0
      }
    ],
    "p*.msg": [
      {
        "patch_func": 1480361056,
        "patch_size_func": 0
      }
    ],
    "s*.msg": [
      {
        "patch_func": 1480361056,
        "patch_size_func": 0
      }
    ],
    "msg*.msg": [
      {
        "patch_func": 1480361056,
        "patch_size_func": 0
      }
    ],
    "e*.msg": [
      {
        "patch_func": 1480361024,
        "patch_size_func": 0
      }
    ],
    "*.anm": [
      {
        "patch_func": 1480330832,
        "patch_size_func": 1480366512
      }
    ],
    "*.std": [
      {
        "patch_func": 0,
        "patch_size_func": 1480366512
      }
    ],
    "*bgm*.fmt": [
      {
        "patch_func": 1480341552,
        "patch_size_func": 1480342624
      }
    ]
  }
}---------------------------
[Steam] Initialization for AppID 1100180 failed
Applying thcrap detours to D:\Games\Touhou\Touhou 12.8 - Fairy Wars\vpatch_th128.dll...
Detouring DLL functions (kernel32.dll)...
( 1/41) CopyFileA... not found
( 2/41) CopyFileExA... not found
( 3/41) CreateDirectoryA... not found
( 4/41) CreateFileA... not found
( 5/41) CreateFileMappingA... not found
( 6/41) CreateProcessA... OK
( 7/41) DeleteFileA... not found
( 8/41) FindFirstFileA... not found
( 9/41) FindNextFileA... not found
(10/41) FormatMessageA... not found
(11/41) GetCurrentDirectoryA... not found
(12/41) GetEnvironmentVariableA... not found
(13/41) GetFileAttributesA... not found
(14/41) GetFileAttributesExA... not found
(15/41) GetFullPathNameA... not found
(16/41) GetCommandLineA... OK
(17/41) GetModuleFileNameA... OK
(18/41) GetPrivateProfileIntA... OK
(19/41) GetPrivateProfileStringA... not found
(20/41) GetStartupInfoA... OK
(21/41) GetTempPathA... not found
(22/41) IsDBCSLeadByte... not found
(23/41) LoadLibraryA... OK
(24/41) MoveFileA... not found
(25/41) MoveFileExA... not found
(26/41) MoveFileWithProgressA... not found
(27/41) MultiByteToWideChar... OK
(28/41) OpenFileMappingA... not found
(29/41) ReadFile... not found
(30/41) RemoveDirectoryA... not found
(31/41) SetCurrentDirectoryA... not found
(32/41) SetEnvironmentVariableA... not found
(33/41) WideCharToMultiByte... OK
(34/41) WriteFile... OK
(35/41) WritePrivateProfileStringA... not found
(36/41) ExitProcess... OK
(37/41) CreateProcessW... not found
(38/41) CreateRemoteThread... OK
(39/41) LoadLibraryW... not found
(40/41) CloseHandle... OK
(41/41) SetFilePointer... not found
Detouring DLL functions (user32.dll)...
( 1/22) CharNextA... not found
( 2/22) CreateDialogParamA... not found
( 3/22) CreateWindowExA... OK
( 4/22) DefWindowProcA... not found
( 5/22) DialogBoxParamA... not found
( 6/22) DrawTextA... not found
( 7/22) GetClassInfoA... not found
( 8/22) GetClassInfoExA... not found
( 9/22) GetWindowLongA... not found
(10/22) GetWindowLongPtrA... not found
(11/22) InsertMenuItemA... not found
(12/22) LoadStringA... not found
(13/22) MessageBoxA... not found
(14/22) RegisterClassA... not found
(15/22) RegisterClassExA... not found
(16/22) SetDlgItemTextA... not found
(17/22) SetWindowLongA... OK
(18/22) SetWindowLongPtrA... not found
(19/22) SetWindowTextA... not found
(20/22) TabbedTextOutA... not found
(21/22) UnregisterClassA... not found
(22/22) GetWindowRect... not found
Detouring DLL functions (shlwapi.dll)...
( 1/10) PathFileExistsA... not found
( 2/10) PathFindFileNameA... not found
( 3/10) PathMatchSpecA... not found
( 4/10) PathRemoveFileSpecA... OK
( 5/10) PathAddBackslashA... OK
( 6/10) PathIsDirectoryA... not found
( 7/10) PathIsRelativeA... not found
( 8/10) PathCanonicalizeA... not found
( 9/10) PathCombineA... not found
(10/10) PathAppendA... OK
Detouring DLL functions (dinput8.dll)...
( 1/ 1) DirectInput8Create... OK
C:\Users\Anon\AppData\Roaming\ShanghaiAlice\th128\th128.cfg Load ... 

C:\Users\Anon\AppData\Roaming\ShanghaiAlice\th128\th128.cfg write ...

D:\Games\Touhou\Touhou 12.8 - Fairy Wars\th128.exe Load ... 

(Data) Resolving th128/th128_0100a.ver... not found
th128_0100a.ver Decode ... 

(Data) Resolving th128/se_plst00.wav... not found
se_plst00.wav Decode ... 

CreateCompatibleDC(0x00000000) -> 0x8C0115B8
(Font) Creating ('Touhou Biolinum' 32 0 400 ANTIALIASED_QUALITY)...
(Font) Creating ('Touhou Biolinum' 40 0 400 ANTIALIASED_QUALITY)...
(Font) Creating ('Touhou Biolinum' 32 0 600 ANTIALIASED_QUALITY)...
(Font) Creating ('Touhou Biolinum' 40 0 600 ANTIALIASED_QUALITY)...
(Font) Replacement rules applied to ('Touhou Biolinum' 15 0 700 ANTIALIASED_QUALITY):
(Font) • (* 15 * 700) → (* 21 * 100 NONANTIALIASED_QUALITY) (priority)
(Font) Creating ('Touhou Biolinum' 21 0 100 NONANTIALIASED_QUALITY)...
(Font) Replacement rules applied to ('Touhou Biolinum' 15 0 700 ANTIALIASED_QUALITY):
(Font) • (* 15 * 700) → (* 21 * 100 NONANTIALIASED_QUALITY) (priority)
(Font) Creating ('Touhou Biolinum' 21 0 100 NONANTIALIASED_QUALITY)...
(Font) Replacement rules applied to ('Touhou Biolinum' 15 0 700 ANTIALIASED_QUALITY):
(Font) • (* 15 * 700) → (* 21 * 100 NONANTIALIASED_QUALITY) (priority)
(Font) Creating ('Touhou Biolinum' 21 0 100 NONANTIALIASED_QUALITY)...
(Font) Replacement rules applied to ('Touhou Biolinum' 15 0 700 ANTIALIASED_QUALITY):
(Font) • (* 15 * 700) → (* 21 * 100 NONANTIALIASED_QUALITY) (priority)
(Font) Creating ('Touhou Biolinum' 21 0 100 NONANTIALIASED_QUALITY)...
(Data) Resolving th128/se_enep00.wav... not found
se_enep00.wav Decode ... 

(Data) Resolving th128/se_pldead00.wav... not found
se_pldead00.wav Decode ... 

(Data) Resolving th128/se_power0.wav... not found
se_power0.wav Decode ... 

(Data) Resolving th128/se_power1.wav... not found
se_power1.wav Decode ... 

(Data) Resolving th128/se_tan00.wav... not found
se_tan00.wav Decode ... 

(Data) Resolving th128/se_tan01.wav... not found
se_tan01.wav Decode ... 

(Data) Resolving th128/se_tan02.wav... not found
se_tan02.wav Decode ... 

(Data) Resolving th128/se_ok00.wav... not found
se_ok00.wav Decode ... 

(Data) Resolving th128/se_cancel00.wav... not found
se_cancel00.wav Decode ... 

(Data) Resolving th128/se_select00.wav... not found
se_select00.wav Decode ... 

(Data) Resolving th128/se_gun00.wav... not found
se_gun00.wav Decode ... 

(Data) Resolving th128/se_cat00.wav... not found
se_cat00.wav Decode ... 

(Data) Resolving th128/se_lazer00.wav... not found
se_lazer00.wav Decode ... 

(Data) Resolving th128/se_lazer01.wav... not found
se_lazer01.wav Decode ... 

(Data) Resolving th128/se_enep01.wav... not found
se_enep01.wav Decode ... 

(Data) Resolving th128/se_damage00.wav... not found
se_damage00.wav Decode ... 

(Data) Resolving th128/se_item00.wav... not found
se_item00.wav Decode ... 

(Data) Resolving th128/se_item01.wav... not found
se_item01.wav Decode ... 

(Data) Resolving th128/se_kira00.wav... not found
se_kira00.wav Decode ... 

(Data) Resolving th128/se_kira01.wav... not found
se_kira01.wav Decode ... 

(Data) Resolving th128/se_kira02.wav... not found
se_kira02.wav Decode ... 

(Data) Resolving th128/se_timeout.wav... not found
se_timeout.wav Decode ... 

(Data) Resolving th128/se_graze.wav... not found
se_graze.wav Decode ... 

(Data) Resolving th128/se_powerup.wav... not found
se_powerup.wav Decode ... 

(Data) Resolving th128/se_pause.wav... not found
se_pause.wav Decode ... 

(Data) Resolving th128/se_cardget.wav... not found
se_cardget.wav Decode ... 

(Data) Resolving th128/se_option.wav... not found
se_option.wav Decode ... 

(Data) Resolving th128/se_damage01.wav... not found
se_damage01.wav Decode ... 

(Data) Resolving th128/se_timeout2.wav... not found
se_timeout2.wav Decode ... 

(Data) Resolving th128/se_invalid.wav... not found
se_invalid.wav Decode ... 

(Data) Resolving th128/se_slash.wav... not found
se_slash.wav Decode ... 

(Data) Resolving th128/se_ch00.wav... not found
se_ch00.wav Decode ... 

(Data) Resolving th128/se_ch01.wav... not found
se_ch01.wav Decode ... 

(Data) Resolving th128/se_extend.wav... not found
se_extend.wav Decode ... 

(Data) Resolving th128/se_cardget.wav... not found
se_cardget.wav Decode ... 

(Data) Resolving th128/se_nep00.wav... not found
se_nep00.wav Decode ... 

(Data) Resolving th128/se_bonus.wav... not found
se_bonus.wav Decode ... 

(Data) Resolving th128/se_bonus2.wav... not found
se_bonus2.wav Decode ... 

(Data) Resolving th128/se_enep02.wav... not found
se_enep02.wav Decode ... 

(Data) Resolving th128/se_ufo.wav... not found
se_ufo.wav Decode ... 

(Data) Resolving th128/se_lazer02.wav... not found
se_lazer02.wav Decode ... 

(Data) Resolving th128/se_changeitem.wav... not found
se_changeitem.wav Decode ... 

(Data) Resolving th128/se_ufoalert.wav... not found
se_ufoalert.wav Decode ... 

(Data) Resolving th128/se_piyo.wav... not found
se_piyo.wav Decode ... 

(Data) Resolving th128/se_nodamage.wav... not found
se_nodamage.wav Decode ... 

(Data) Resolving th128/se_boon00.wav... not found
se_boon00.wav Decode ... 

(Data) Resolving th128/se_don00.wav... not found
se_don00.wav Decode ... 

(Data) Resolving th128/se_boon01.wav... not found
se_boon01.wav Decode ... 

(Data) Resolving th128/se_shutter.wav... not found
se_shutter.wav Decode ... 

(Data) Resolving th128/se_focus.wav... not found
se_focus.wav Decode ... 

(Data) Resolving th128/se_nice.wav... not found
se_nice.wav Decode ... 

(Data) Resolving th128/se_focusin.wav... not found
se_focusin.wav Decode ... 

(Data) Resolving th128/se_focusfix.wav... not found
se_focusfix.wav Decode ... 

(Data) Resolving th128/se_focusfix2.wav... not found
se_focusfix2.wav Decode ... 

(Data) Resolving th128/se_focusrot.wav... not found
se_focusrot.wav Decode ... 

(Data) Resolving th128/se_ch02.wav... not found
se_ch02.wav Decode ... 

(Data) Resolving th128/se_cat01.wav... not found
se_cat01.wav Decode ... 

(Data) Resolving th128/se_ice.wav... not found
se_ice.wav Decode ... 

(Data) Resolving th128/se_ch03.wav... not found
se_ch03.wav Decode ... 

(Data) Resolving th128/se_ice2.wav... not found
se_ice2.wav Decode ... 

(Data) Resolving th128/se_extend2.wav... not found
se_extend2.wav Decode ... 

(Data) Resolving th128/se_pin00.wav... not found
se_pin00.wav Decode ... 

(Data) Resolving th128/se_pin01.wav... not found
se_pin01.wav Decode ... 

(Data) Resolving th128/se_down.wav... not found
se_down.wav Decode ... 

(Data) Resolving th128/sig.anm... not found
(JSON) Resolving th128/sig.anm.jdiff... not found
sig.anm Decode ... 

---- ANM ----
(PNG) Resolving th128/loading/sig.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/loading/sig.png
(PNG) Resolving th128/loading/sig.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/loading/sig.png
-------------
(Data) Resolving th128/ascii.anm... not found
(JSON) Resolving th128/ascii.anm.jdiff... not found
ascii.anm Decode ... 

---- ANM ----
(PNG) Resolving th128/ascii/ascii.png... 
  + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/script_latin/th128/ascii/ascii.png
(PNG) Resolving th128/ascii/loading.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/ascii/loading.png
-------------
(Data) Resolving th128/text.anm... 
 + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/nmlgc/base_tsa/th128/text.anm
(JSON) Resolving th128/text.anm.jdiff... not found
text.anm Decode ... 

---- ANM ----
-------------
(Data) Resolving th128/thbgm.fmt... not found
(JSON) Resolving th128/thbgm.fmt.jdiff... not found
thbgm.fmt Decode ... 

(BGM) Resolving th128_07.{flac > ogg > mp3}... not found
(BGM) Resolving th128_00.{flac > ogg > mp3}... not found
(BGM) Resolving th128_02.{flac > ogg > mp3}... not found
(BGM) Resolving th128_01.{flac > ogg > mp3}... not found
(BGM) Resolving th128_05.{flac > ogg > mp3}... not found
(BGM) Resolving th128_06.{flac > ogg > mp3}... not found
(BGM) Resolving th128_09.{flac > ogg > mp3}... not found
(BGM) Resolving th128_10.{flac > ogg > mp3}... not found
(BGM) Resolving th128_11.{flac > ogg > mp3}... not found
(BGM) Resolving th128_08.{flac > ogg > mp3}... not found
(Data) Resolving th128/front.anm... not found
(JSON) Resolving th128/front.anm.jdiff... not found
front.anm Decode ... 

---- ANM ----
(PNG) Resolving th128/front/front00.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/front/front00.png
(PNG) Resolving th128/front/front01.png... not found
(PNG) Resolving th128/ascii/pause.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/ascii/pause.png
(PNG) Resolving th128/ascii/pause.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/ascii/pause.png
(PNG) Resolving th128/front/ename.png... not found
(PNG) Resolving th128/face/balloon.png... not found
(PNG) Resolving th128/face/balloon.png... not found
(PNG) Resolving th128/front/lifebar.png... not found
(PNG) Resolving th128/front/routeselect.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/front/routeselect.png
(PNG) Resolving th128/front/routewindow.png... not found
(PNG) Resolving th128/ascii/medal00.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/ascii/medal00.png
-------------
(Data) Resolving th128/bullet.anm... not found
(JSON) Resolving th128/bullet.anm.jdiff... not found
bullet.anm Decode ... 

---- ANM ----
(PNG) Resolving th128/bullet/etama.png... not found
(PNG) Resolving th128/bullet/etama6.png... not found
(PNG) Resolving th128/bullet/etama2.png... not found
(PNG) Resolving th128/bullet/etama3.png... not found
(PNG) Resolving th128/bullet/eff01.png... not found
(PNG) Resolving th128/bullet/etama8.png... not found
(PNG) Resolving th128/bullet/etama9.png... not found
(PNG) Resolving th128/bullet/etbreak.png... not found
-------------
scoreth128.dat Load ... 

error : scoreth128.dat is not found.

(Data) Resolving th128/title.anm... not found
(JSON) Resolving th128/title.anm.jdiff... not found
title.anm Decode ... 

---- ANM ----
(PNG) Resolving th128/title/title01.png... not found
(PNG) Resolving th128/title/title00a.png... not found
(PNG) Resolving th128/title/select00.png... not found
(PNG) Resolving th128/title/select00.png... not found
(PNG) Resolving th128/title/title_logo.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/title_logo.png
(PNG) Resolving th128/title/copy.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/copy.png
(PNG) Resolving th128/title/select01.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/select01.png
(PNG) Resolving th128/title/wheel.png... not found
(PNG) Resolving th128/title/rank00.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/rank00.png
(PNG) Resolving th128/title/rank01.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/rank01.png
(PNG) Resolving th128/title/rank02.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/rank02.png
(PNG) Resolving th128/title/rank03.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/rank03.png
(PNG) Resolving th128/title/rank00b.png... not found
(PNG) Resolving th128/title/rank01b.png... not found
(PNG) Resolving th128/title/rank02b.png... not found
(PNG) Resolving th128/title/rank03b.png... not found
(PNG) Resolving th128/title/stage00.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/stage00.png
(PNG) Resolving th128/title/stage01.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/stage01.png
(PNG) Resolving th128/title/stage02.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/stage02.png
(PNG) Resolving th128/title/stage03.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/stage03.png
(PNG) Resolving th128/title/stage03b.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/stage03b.png
(PNG) Resolving th128/title/result00.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/result00.png
(PNG) Resolving th128/title/stageft.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/stageft.png
(PNG) Resolving th128/title/title_ed.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/title_ed.png
(PNG) Resolving th128/title/title_ed.png... 
    + D:/Games/Touhou/Touhou 12.8 - Fairy Wars/thcrap/repos/thpatch/lang_en/th128/title/title_ed.png
-------------
(Data) Resolving th128/title_v.anm... not found
(JSON) Resolving th128/title_v.anm.jdiff... not found
title_v.anm Decode ... 

---- ANM ----
(PNG) Resolving th128/title/title_ver.png... not found
-------------
scoreth128.dat open ...

C:\Users\Anon\AppData\Roaming\ShanghaiAlice\th128\th128.cfg write ...

C:\Users\Anon\AppData\Roaming\ShanghaiAlice\th128\log.txt write ...

Shutting down repatch watcher thread.
Statistics:
----
• Last error codes: 0 (queue), 0 (changes)
• Total number of file changes parsed: 0
• Maximum buffer fill state: 0/65536 bytes
----
Removing plug-ins...
